<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试原生AJax</title>
    <link rel="script" href="js/main.js">
</head>
<body>
<form>
    用户名:<input type="text" name="uname" onblur="Ajax()">
    <span id="tishi">用户名在8到16之间</span><br>
    密码：<input type="password" name="password"><br>
</form>
</body>
<script src="./js/main.js"></script>
</html>